package behavioralPattern.strategy.example02;

import java.util.ArrayList;
import java.util.List;

/**
 * 回执信息生成类
 */
public class ReceiptBuilder {

    public static List<Receipt> getReceiptList(){
        // 模拟回执信息
        List<Receipt> list = new ArrayList<>();
        list.add(new Receipt("MT1101 回执信息","MT1101"));
        list.add(new Receipt("MT2101 回执信息","MT2101"));
        list.add(new Receipt("MT4101 回执信息","MT4101"));
        list.add(new Receipt("MT8104 回执信息","MT8104"));
        list.add(new Receipt());

        return list;
    }
}
